--Common libs for both client and server

if not netadmin.Lib then netadmin.Lib = {} end

function netadmin.Lib.MakeQuotesSafe( strLine )
	return string.Replace(strLine, "\"", "**")
end

function netadmin.Lib.ReventQuotes( strLine )
	return string.Replace(strLine, "**", "\"")
end


function netadmin.Lib.MakeStringTableSafe(tblString)
	for i, v in pairs(tblString) do
		tblString[i] = netadmin.Lib.MakeQuotesSafe( v )
	end
	
	return tblString
end

function netadmin.Lib.MakeStringTableRevert(tblString)
	
	for i, v in pairs(tblString) do
		tblString[i] = netadmin.Lib.ReventQuotes( v )
	end
	
	return tblString
end
